/*************************************************************
 * Title: IPrivilegeService.java
 * Description: 
 * Author: Huang Shaobin
 * Email: shaobin.software@gmail.com
 * CreateTime: Feb 21, 2013 4:05:46 PM
 * Copyright © 落羽社区 All right reserved
 ************************************************************/
package snow.biz.security.service;

import java.util.List;

import snow.biz.basic.service.IBaseService;
import snow.biz.security.model.Privilege;
import snow.core.domain.Pagination;
import snow.core.exceptions.BusinessException;
import snow.core.persistence.Conditions;
import snow.core.persistence.Order;

/**
 *
 */
public interface IPrivilegeService extends IBaseService {

	Privilege searchPrivilegeFrom(Integer id) throws BusinessException;

	Pagination searchPrivilegesForPagingFrom(Conditions conditions, List<Order> orders, int start, int limit) throws BusinessException;

	List<Privilege> searchPrivilegesFrom(Conditions conditions, List<Order> orders, int start, int limit) throws BusinessException;

}
